package com.mine.common.core.utils.datetime;

/**
 * @author gongming
 * @date 2023/9/7 14:42
 */
public interface DateTime {
    int MIN_LENGTH = 4;
    /**
     * 标准格式 yyyy-MM-dd HH:mm:ss
     */
    String STANDARD_FORMAT = "yyyy-MM-dd HH:mm:ss";
    String SECOND_FORMAT = STANDARD_FORMAT;
    String MINUTE_FORMAT = SECOND_FORMAT.substring(0, 16);
    String HOUR_FORMAT = MINUTE_FORMAT.substring(0, 13);
    String DAY_FORMAT = HOUR_FORMAT.substring(0, 10);
    String WEEK_FORMAT = "E";
    String MONTH_FORMAT = DAY_FORMAT.substring(0, 7);
    String YEAR_FORMAT = MONTH_FORMAT.substring(0, 4);

}
